package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单选项对象 sys_form_option
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public class SysFormOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选项ID */
    private Long optionId;

    /** 检查类型 */
    @Excel(name = "检查类型")
    private String checkType;

    /** 扣分原因 */
    @Excel(name = "扣分原因")
    private String deduction;

    /** 详情ID */
    @Excel(name = "详情ID")
    private Long detailId;

    /** 分组ID */
    @Excel(name = "分组ID")
    private Long groupId;

    public void setOptionId(Long optionId) 
    {
        this.optionId = optionId;
    }

    public Long getOptionId() 
    {
        return optionId;
    }

    public void setCheckType(String checkType) 
    {
        this.checkType = checkType;
    }

    public String getCheckType() 
    {
        return checkType;
    }

    public void setDeduction(String deduction) 
    {
        this.deduction = deduction;
    }

    public String getDeduction() 
    {
        return deduction;
    }

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }

    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("optionId", getOptionId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("checkType", getCheckType())
            .append("deduction", getDeduction())
            .append("detailId", getDetailId())
            .append("groupId", getGroupId())
            .toString();
    }
}




